package com.sgb.kjwl.view.ui.adapter.transport;

import android.content.Context;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;
import android.view.ViewGroup;

import com.sgb.kjwl.R;
import com.swgk.core.recyclerview.secondary.CommonHolder;

public class CardPushAdapter extends RecyclerView.Adapter {
    private Context context;

    public CardPushAdapter(Context context) {
        this.context = context;

    }

    @NonNull
    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(@NonNull ViewGroup viewGroup, int i) {
        RecyclerView.ViewHolder viewHolder = null;
        viewHolder = CommonHolder.get(context, viewGroup, R.layout.item_card_push);
        return viewHolder;
    }

    @Override
    public void onBindViewHolder(@NonNull RecyclerView.ViewHolder viewHolder, int i) {

    }

    @Override
    public int getItemCount() {
        return 3;
    }


}
